<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo site_url('static/style/css/style.css');?>" />

<script type="text/javascript" src="<?php echo site_url('static/style/js/Calendar.js');?>"></script>
<title>无标题文档</title>
</head>

<body>
<form action="addreward" method="post" enctype="multipart/form-data" name="addreward">
<table width="100%" border="0" >


    <td><h3>添加奖项</h3></td>
  </tr>
  <tr>
    <td width="10%" height="31">活动信息:</td>
    <td width="90%"><label>
      <input  name="infos" value="<?php echo set_value('infos'); ?>"/>
    (*)</label></td>
  </tr>
   <tr>
    <td width="10%" height="31">活动图片:</td>
    <td width="90%">
      <input type="file" name="rewardpic" id="fileField" />
       </td>
  </tr>
     <tr>
    <td width="10%" height="31">展示类型:</td>
    <td width="90%">
   
      <select name="showtype" id="select">
      <option value="1">文字</option>
      <option value="2">图片</option>
      </select>
             </td>
  </tr>
  <tr>
    <td height="36">中奖金额:</td>
    <td><input  name="prices" value="<?php echo set_value('prices'); ?>"/>
    (*)</td>
  </tr>
  <tr>
    <td height="35">奖品:</td>
    <td><input  name="products" value="<?php echo set_value('products'); ?>"/>
    (*)</td>
  </tr>
  <tr>
    <td height="39">单位金额:</td>
    <td><input  name="singleprice" value="<?php echo set_value('singleprice'); ?>"/></td>
  </tr>
  <tr>
    <td height="39">概率:</td>
    <td><input  name="probability" value="<?php echo set_value('probability'); ?>"/></td>
  </tr>
    <tr>
    <td height="39">最小可选数字:</td>
    <td><input  name="minnumber" value="" size="20"/></td>
  </tr>
      <tr>
    <td height="39">最大可选数字:</td>
    <td><input  name="maxnumber" value="" size="20"/></td>
  </tr>
        <tr>
    <td height="39">开始时间:</td>
    <td><input type="text" name="date"    readOnly onClick="setDay(this);"></td>
  </tr>
        <tr>
    <td height="39">结束时间:</td>
    <td><input  name="enddate" value="" size="20" readOnly onClick="setDayHM(this);"/></td>
  </tr>

      <tr>
    <td height="39">状态：</td>
    <td>
           <select name="enabled">
      	<option value="0">停止</option>
      	<option value="1">启动</option>
      	<option value="2">已结束</option>
      </select>
    </td>
  </tr>
  <tr>
    <td height="44">备注：</td>
    <td>
    <textarea name="content" cols="100" rows="10" id="textarea"></textarea>
   </td>
  </tr>
    <tr>
    <td height="44">&nbsp;</td>
    <td>
      <input type="submit" name="Submit" value="提交" />
    </td>
  </tr>
</table>
</form>
</body>
</html>
